package MyQueue;

public interface Operations {

    //入队列
    public abstract boolean offer(int data);

    //出队列
    public abstract int poll();

    //获取对头元素
    public abstract int peek();

    //获取元素个数
    public abstract int size();

    //是否为空队列
    public abstract boolean isEmpty();
}
